package com.small.nacos.common.lifecycle;

import com.alibaba.nacos.api.exception.NacosException;

/**
 * @Author zhoujin
 * @Date 2022/11/12 14:58
 */
public interface Closeable {

    /**
     * 停止当前资源
     * @throws NacosException
     */
    void shutdown() throws NacosException;
}
